package api

import (
	"day1.13/api/handler"
	"github.com/gin-gonic/gin"
)

func LoadRouter(r *gin.Engine) {
	r.POST("/api/c/article/addArticle", handler.AddArticle)
	r.POST("/api/c/article/listArticle", handler.ListArticle)
	r.POST("/api/c/article/ArticleReview", handler.ReviewArticle)
	r.POST("/api/c/article/ArticleReviews", handler.ReviewArticles)
	r.POST("/api/c/article/ArticleHistory", handler.ArticleHistory)
	r.POST("/api/c/article/ArticleGood", handler.ArticleGood)
}
